package old.apiday03;

import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;

public class GenerateDemo {
    public static void main(String[] args) {
        Collection<String> c=new ArrayList<>();
        c.add("我是你爹");
        c.add("你是我大儿");
      for (Object obj:c){
          String str=(String)obj;
          System.out.println(str);
      }
    }
}
